package com.aliware.tianchi.common;

//import java.sql.Connection;
//import java.sql.SQLException;
//import java.sql.Statement;

/**
 * @author lorne
 * @date 2019/7/11
 * @description
 */
public class LogUtils {

//    private static Connection connection;
//
//    static {
//        connection =  MySQLconnection.getConnection();
//    }

    public static void log(String content){
        System.out.println(content);
//        String sql = "insert into t_logs(time,content) values(now(),'"+content+"')";
//        try {
//            Statement statement = connection.createStatement();
//            statement.execute(sql);
//            MySQLconnection.close(statement);
//        } catch (SQLException e) {
//            e.printStackTrace();
//        }
    }
}
